#ifndef FPS_TRACKER_HPP
#define FPS_TRACKER_HPP

#include "GlobalDefines.hpp"

class FPSTracker
{
public:
  FPSTracker();

  void FrameDrawn ();

  double GetFPS();

  double GetCumulativeFPS() const;

private:
  sf::Clock fpstimer;

  unsigned long int frameCount;
  
  unsigned long int cumulativeFrameCount;

  double cumulativeTime;

  double storedFPS;
};

#endif